package com.school.test.mapper;

import com.school.test.domain.StatisticsVisit;
import com.school.test.domain.Websiteinfo;
import com.school.test.domain.vo.ParamsVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 字典表 数据层
 * 
 * @author ruoyi
 */
@Mapper
public interface WebsiteInfoMapper
{

    List<Websiteinfo> selectInfo(ParamsVo paramsVo);

    int deleteWebsiteInfoById(@Param("id") String id);

    Websiteinfo selectWebsiteInfoById(@Param("id") String id);

    List<Websiteinfo> selectWebsiteInfoByType(@Param("type") String type,@Param("source")  String source);

    int insertStatisticsVisit(Websiteinfo websiteinfo);

    int updateWebsiteinfo(Websiteinfo websiteinfo);
}
